﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Lich_su_nap_tien.ascx.cs" Inherits="eDream.admin.Lich_su_nap_tien" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxEditors" TagPrefix="dx" %>
<%@ Register Assembly="DevExpress.Web.v12.2, Version=12.2.5.0, Culture=neutral, PublicKeyToken=b88d1754d700e49a" Namespace="DevExpress.Web.ASPxGridView" TagPrefix="dx" %>

<div style="margin-top: 20px">
    <div class="cloum_note">Cộng tác viên: </div>
    <div class="cloum_note">
        <dx:ASPxLabel ID="lbname" runat="server" Text="" Font-Bold="true"></dx:ASPxLabel>
    </div>
    <div class="Clear"></div>
    <asp:Panel ID="panl" runat="server" Width="100%" Visible="false">
        <div class="cloum_note">Nạp tiền: </div>
        <div class="cloum_note">
            <dx:ASPxTextBox ID="txt" runat="server" Width="100px" MaxLength="3" DisplayFormatString="C0"></dx:ASPxTextBox>
        </div>
        <div class="cloum_note">
            <dx:ASPxButton ID="btnNaptien" runat="server" Text="Nạp tiền" Theme="iOS" AutoPostBack="false" OnClick="btnNaptien_Click"></dx:ASPxButton>
        </div>
        <div class="Clear"></div>
        <dx:ASPxLabel ID="lbthongbao" runat="server" ForeColor="Red"></dx:ASPxLabel>
    </asp:Panel>
    <div class="Clear"></div>
    <br />
    <dx:ASPxGridView ID="grvGiaodich" runat="server" AutoGenerateColumns="False" KeyFieldName="ID" Width="500px">
        <Columns>
            <dx:GridViewBandColumn Caption="Lịch sử giao dich">
                <HeaderStyle HorizontalAlign="Center" Font-Bold="true" />
                <Columns>
                    <dx:GridViewDataTextColumn FieldName="UserID" VisibleIndex="0" Visible="false">
                    </dx:GridViewDataTextColumn>
                    <dx:GridViewDataDateColumn Caption="Ngày giao dịch" FieldName="day" VisibleIndex="2">
                    </dx:GridViewDataDateColumn>

                    <dx:GridViewDataTextColumn Caption="Số tiền" FieldName="Money" VisibleIndex="4">
                    </dx:GridViewDataTextColumn>
                </Columns>
            </dx:GridViewBandColumn>

        </Columns>
        <Settings ShowFilterRow="false" />
        <SettingsBehavior AllowSort="false" />
    </dx:ASPxGridView>

</div>
